﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Slide.ascx.cs" Inherits="GUI.Controls.Sport.Slide" %>
<div class="sport-slide clearfix fl">
    <div class="header clearfix">
        <h2>
            <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
        </h2>
        <span><a class="pre fl spritethethao" href="javascript:void(0);"></a><a class="next spritethethao fl" href="javascript:void(0);"></a></span>
    </div>
    <ul>
        <asp:Literal ID="ltrList" runat="server"></asp:Literal>
    </ul>
</div>
<script type="text/javascript">
    onLoad(function () {
        $('.sport-slide').eq(1).css('margin-left', '5px');
        $(".sport-slide").each(function () {
            $(this).find('ul:first').mcgSlider({
                slideItemElement: '.slide',
                numberOfVisibleSlides: 2,
                preButton: $(this).find('.pre'),
                nextButton: $(this).find('.next'),
                effect: true,
                duration: 7000
            });
        });
    }, "Sport.Slide.ascx");
</script>
